export interface ResponseType<T = any> {
  code?: number;  // 旧API格式
  retCode?: number; // 新API格式
  data: T;
  message?: string; // 旧API格式
  retMsg?: string;  // 新API格式
  status?: number;
}

export interface ResponseGetType<T = any> {
  data: T;
  loading?: boolean;
}

export interface ResponsePostType<T = any> {
  data: T;
  loading?: boolean;
  [key: string]: unknown;
}
